﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZLB_Dal.Basic;
using ZLB_Dal.TiJian;
using ZLB_Model.Config;
using ZLB_Model.Hospital;

namespace ZLB_Service.Hospital_Config
{
    public class HospiatlManager
    {
        public static readonly string hosName = ConfigManager.hosName;

        public static readonly string organization_id = string.Empty;
        public static readonly string platform_code = string.Empty;
        public static readonly string token = string.Empty;
        public static readonly string ip = string.Empty;
        public static readonly string mac = string.Empty;
        public static readonly string hospital_name = string.Empty;
        public static readonly bool is_web = false;
        public static readonly string base_path = string.Empty;
        public static readonly PhysicalDal PhysicalDal = null;
        public static readonly bool is_sms = false;

        static HospiatlManager()
        {
            switch (hosName)
            {

                case "LiShuiZYY":
                    organization_id = LiShuiZYY.organization_id;
                    platform_code = LiShuiZYY.platform_code;
                    token = LiShuiZYY.token;
                    ip = LiShuiZYY.ip;
                    mac = LiShuiZYY.mac;
                    hospital_name = LiShuiZYY.hospital_name;
                    is_web = LiShuiZYY.is_web;
                    base_path = LiShuiZYY.base_path;
                    is_sms = LiShuiZYY.is_sms;
                    PhysicalDal = new LiShuiZYYDal();
                    break;
            }
            
        }

    }
}
